package com.wr.async.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component

public class TestEntity {
    public static String name;

    @Value(value = "name")
    public  void setName(String name) {
        TestEntity.name = name;
    }
}
